#pragma once
#include "include/cef_app.h"

class CustomSchemeFactory : public CefSchemeHandlerFactory
{
public:
	CustomSchemeFactory() = default;
	CustomSchemeFactory(const CustomSchemeFactory&) = delete;
	CustomSchemeFactory operator=(const CustomSchemeFactory&) = delete;
	CefRefPtr<CefResourceHandler> Create(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, const CefString& scheme_name, CefRefPtr<CefRequest> request) override;

private:
	IMPLEMENT_REFCOUNTING(CustomSchemeFactory);
};

